<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
    <head>
        <title>ERB File</title>
		<%= stylesheet_link_tag 'default' %>
		<%= javascript_include_tag 'prototype' %>
		<%= javascript_include_tag 'effects' %>
		<%= javascript_include_tag 'dragdrop' %>
    </head>
    <body>
        <h3>Sprint: <%= @sprint.goal %></h3>
		
		<ul id="histories">
		<% for history in @histories %>
			<li>
				<div class="history" id="h<%=history.id %>" >
					<p><%=history.text%></p>
					<div class="data">
						
						<div class="business_value">
							<%=history.business_value%>
						</div>
						<div class="complexity">
							<%=history.complexity%>
						</div>
					</div>
				</div>	
				
			</li>
				<%= sortable_element("histories", :url => { :action => "order" }) %>
			
		<% end %>
		</ul>
		

	
    </body>
</html>
